package com.info.zhiduoduo.repository.entity.customer;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("zdd_service_error")
public class ServiceError extends Model<ServiceError> {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //创建时间
    private Date createtime;

    //创建人
    @TableField("create_person")
    private Integer createPerson;

    //具体内容
    private String content;

    //涉及部门
    @TableField("involve_department")
    private String involveDepartment;

    //涉及人员
    @TableField("involve_person")
    private String involvePerson;

    //跟进人员
    @TableField("follow_person")
    private Integer followPerson;

    //解决人员
    @TableField("solve_person")
    private Integer solvePerson;

    //是否解决（0：否；1：是）
    @TableField("wheather_solve")
    private Integer wheatherSolve;

    //发生时间
    private Date happenTime;

    //解决时间
    @TableField("solve_time")
    private Date solveTime;

    //是否上报
    private Integer submit;

    //下次跟进日期
    @TableField("next_follow_time")
    private Date nextFollowTime;

    //修改时间
    private Date updatetime;

    @TableField("update_person")
    private Integer updatePerson;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
